﻿@{
    Layout = null;
}
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/jquery")
@Scripts.Render("~/bundles/jqueryval")
@Scripts.Render("~/bundles/js")
 @Styles.Render("~/Content/autocomplete/jquery-ui.css")

   <style>
        /*重写提示框样式*/
        .ui-dialog .ui-dialog-titlebar {
            padding: 3px;
        }

        .ui-dialog .ui-dialog-buttonpane {
            margin: 0px;
            padding: 0px;
        }

        .ui-dialog-title {
            padding-left: 5px;
        }
        /*改变标题颜色*/
        .ui-widget-header {
            background-color: #107bce;
            border: 1px solid #107bce;
            background-image: none;
        }

        .ui-front {
            z-index: 999999999;
        }
    </style>
    <script type="text/jscript">

        $(function () {

            confirmDialogSure('@ViewBag.alert', function () {
                if ("@ViewBag.url" != "") {
                    window.location.href = $.trim('@Html.Raw(ViewBag.url)');
                }
                else {
                    messageAlert('@ViewBag.alert');
                }
            })

        })
      
    </script>
    @*消息提示框*@
    <div id="dialog-message" title="消息提示">
        <p></p>
    </div>
        @*操作提示框*@
    <div id="dialog-confirm" title="操作提示">
        <p></p>
    </div>


